﻿ALTER TABLE [dbo].[PostCategory]
    ADD CONSTRAINT [FK_PostCategory_Post] FOREIGN KEY ([PostId]) REFERENCES [dbo].[PostInfo] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

